package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.PageResult;
import com.wing.product.model.entity.WarehouseOrderDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.response.WarehouseOrderDetailVO;
import com.wing.product.model.response.WarehouseOrderInfoDetailVO;

import java.util.List;
import java.util.Map;

public interface WarehouseOrderDetailService extends IService<WarehouseOrderDetail>{

    PageResult<Page<WarehouseOrderDetailVO>> pageList4app(Page<WarehouseOrderDetail> pg, Map paramMap);

    List<WarehouseOrderInfoDetailVO> findOrderDetailListByOrderId(Long id ,String type);

    WarehouseOrderDetail findByOrderDetailCode(String orderCode);
}
